﻿<%@ Page Language="C#" MasterPageFile="~/Design/MasterPage/MasterPage.master" AutoEventWireup="true"
    CodeFile="ContractUpdForm.aspx.cs" Inherits="App_Input_ContractUpdForm" Title="购卡合同" %>

<%@ Register TagPrefix="shpm" TagName="TipBar" Src="~/App/Input/SaleProcessTipBar.ascx" %>
<%@ Register Assembly="ShpmCommon" Namespace="Shpm.System.Web.Control" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <asp:Panel ID="PanelNavigate" runat="server" />

    <script type="text/jscript">
function countRent(object){
		
		var rentCount = document.getElementById('<%=rentCount.ClientID%>');
		var monthCoun = document.getElementById('<%=monthCount.ClientID%>');
		var foregiftH = document.getElementById('<%=foregiftH.ClientID%>');
		var rentH = document.getElementById('<%=rentH.ClientID%>');
		
		
		if( object.value.indexOf(".") < 0 && !isNaN(object.value) &&  object.value.indexOf("-") < 0 ){
			rentCount.innerHTML = (object.value*rentH.value).toFixed(2);
		
			monthCoun.innerHTML = (object.value*rentH.value+foregiftH.value*1).toFixed(2);
		}

	}
	 function settext(id,val){
            var obj = window.document.getElementById(id);

            obj.value=val;
            
            if( obj.onchange!=null ) {
                obj.onchange();
            }
        }
	function popup(){
            window.open('../Commons/RoomSearchForm.aspx?tID=<%=txtApartmentNo.ClientID%>','RoomSearchForm','scrollbars,resizable')
        }
    </script>

    <div>
        <cc1:ComValidator ID="ComValidator1" runat="server" CheckItems-Capacity="8" ForeColor="Red"
            Visible="False">
            
            <cc1:CheckRequiredAttribute Code="E0082" ControlToValidator="rentMultiple">
                <cc1:ComAbsParamsAttribute Parameter="月份数" />
            </cc1:CheckRequiredAttribute>
            <cc1:CheckLongAttribute Code="E0317" ControlToValidator="rentMultiple">
                <cc1:ComAbsParamsAttribute Parameter="月份数" />
            </cc1:CheckLongAttribute>
            <cc1:CheckLongMoreAttribute Code="E0078" ControlToValidator="rentMultiple" More="3">
                <cc1:ComAbsParamsAttribute Parameter="月份数" />
                <cc1:ComAbsParamsAttribute Parameter="3" />
            </cc1:CheckLongMoreAttribute>
        </cc1:ComValidator>
        <cc1:ComValidator ID="ComValidator2" runat="server" Visible="False">
        </cc1:ComValidator>
        <cc1:ComValidator ID="ComValidator3" runat="server" Visible="False" CheckItems-Capacity="4">
        <cc1:CheckRequiredAttribute Code="E0082" ControlToValidator="txtContractCode">
                <cc1:ComAbsParamsAttribute Parameter="合同编号" />
            </cc1:CheckRequiredAttribute>
            
            <cc1:CheckTypeAttribute Code="E0039" ControlToValidator="txtContractCode" Pattern="^[A-Za-z0-9]+$">
                <cc1:ComAbsParamsAttribute Parameter="合同编号" />
            </cc1:CheckTypeAttribute>
            
            <cc1:CheckSpecLenAttribute SpecLen="4" Code="E0078" ControlToValidator="txtContractCode">
                <cc1:ComAbsParamsAttribute Parameter="合同编号" />
                <cc1:ComAbsParamsAttribute Parameter="4" />
            </cc1:CheckSpecLenAttribute>
        
        </cc1:ComValidator>
        <div id="container">
            <div id="title">
                <ul>
                    <li id="tag1" style="display: none;">
                        <asp:LinkButton ID="LinkButton1" OnCommand="lnkTab_Command" CommandName="btn0" runat="server"
                            Enabled="false" Width="105px"><span>新建销售档案</span></asp:LinkButton></li><li id="tag2">
                                <asp:LinkButton ID="LinkButton2" OnCommand="lnkTab_Command" CommandName="btn1" runat="server"><span>销售记录</span></asp:LinkButton></li><li
                                    id="tag4">
                                    <asp:LinkButton ID="LinkButton4" OnCommand="lnkTab_Command" CommandName="btn3" runat="server"
                                        CssClass="selectli" OnClientClick="return false;" Width="95px"><span class="selectspan">权益人管理</span></asp:LinkButton></li><li
                                            id="tag3">
                                            <asp:LinkButton ID="LinkButton3" OnCommand="lnkTab_Command" CommandName="btn2" runat="server"><span >会员管理</span></asp:LinkButton></li><li
                                                id="Li6">
                                                <asp:LinkButton ID="LinkButton6" OnCommand="lnkTab_Command" CommandName="btn6" runat="server" Width="105px"><span>入住资格审核</span></asp:LinkButton>
                                            </li>
                    <li id="tag5">
                        <asp:LinkButton ID="LinkButton5" OnCommand="lnkTab_Command" CommandName="btn4" runat="server"><span>会员入住</span></asp:LinkButton>
                    </li>
                </ul>
                <ul>
                    <li id="Li1">
                        <asp:LinkButton ID="LinkButton3_1" OnCommand="lnkTab_Command" CommandName="btn3_1"
                            runat="server" Width="95px"><span>权益人信息</span></asp:LinkButton></li><li id="Li2" style="display: none">
                                <asp:LinkButton ID="LinkButton3_2" OnCommand="lnkTab_Command" CommandName="btn3_2"
                                    runat="server" Width="105px"><span>权益机构信息</span></asp:LinkButton></li><li id="Li3">
                                        <asp:LinkButton ID="LinkButton3_3" OnCommand="lnkTab_Command" CommandName="btn3_3"
                                            runat="server" CssClass="selectli" OnClientClick="return false;"><span  class="selectspan">办理合同</span></asp:LinkButton>
                                    </li>
                </ul>
            </div>
            <div id="content" class="content1">
                <shpm:TipBar runat="server" ID="tipBar" />
                <table width="80%">
                    <tr>
                        <td style="width: 100%">
                            <table class="table_border_line">
                                <tr>
                                    <th align="left" colspan="6" style="text-align: left">

                                        <script language="javascript">
                                        (new TitleBar('SearchBar', '权益人信息')).showBar();
                                        </script>

                                    </th>
                                </tr>
                            </table>
                            <table class="table_border_line" style="width: 101%; background: ffffff">
                                <tr>
                                    <td>
                                        <table id="person" runat="server">
                                            <tr>
                                                <td style="width: 15px; height: 26px;">
                                                    &nbsp;</td>
                                                <td style="width: 72px; white-space: nowrap; height: 26px;" class="">
                                                    姓名</td>
                                                <td class="" style="height: 26px; width: 207px;">
                                                    <asp:Label ID="nameC" runat="server"></asp:Label></td>
                                                <td align="left" style="height: 26px; width: 5px;">
                                                </td>
                                                <td align="left" style="height: 26px; width: 8px;">
                                                </td>
                                                <td align="right" style="height: 26px; width: 15px;">
                                                    &nbsp;</td>
                                            </tr>
                                            <tr>
                                                <td style="width: 15px; height: 25px;">
                                                    &nbsp;</td>
                                                <td style="width: 72px; white-space: nowrap; height: 25px;" class="">
                                                    性别</td>
                                                <td class="" style="height: 25px; width: 207px;">
                                                    <asp:Label ID="mSex" runat="server"></asp:Label></td>
                                                <td align="left" style="height: 25px; width: 5px;">
                                                </td>
                                                <td align="left" style="height: 25px; width: 8px;">
                                                </td>
                                                <td align="right" style="height: 25px; width: 15px;">
                                                    &nbsp;</td>
                                            </tr>
                                            <tr>
                                                <td style="width: 15px; height: 23px;">
                                                    &nbsp;</td>
                                                <td style="width: 72px; white-space: nowrap; height: 23px;" class="" id="LabCardType"
                                                    runat="server">
                                                    身份证号</td>
                                                <td class="" style="height: 23px; width: 207px;">
                                                    <asp:Label ID="card" runat="server"></asp:Label></td>
                                                <td align="left" style="height: 23px; width: 5px;">
                                                </td>
                                                <td align="left" style="height: 23px; width: 8px;">
                                                </td>
                                                <td align="right" style="height: 23px; width: 15px;">
                                                    &nbsp;</td>
                                            </tr>
                                        </table>
                                        <table id="organization" runat="server" visible="false">
                                            <tr>
                                                <td style="width: 15px; height: 26px;">
                                                    &nbsp;</td>
                                                <td style="width: 72px; white-space: nowrap; height: 26px;" class="">
                                                    机构名称</td>
                                                <td class="" style="height: 26px; width: 207px;">
                                                    <asp:Label ID="organizationName" runat="server"></asp:Label></td>
                                                <td align="left" style="height: 26px; width: 5px;">
                                                </td>
                                                <td align="left" style="height: 26px; width: 8px;">
                                                </td>
                                                <td align="right" style="height: 26px; width: 15px;">
                                                    &nbsp;</td>
                                            </tr>
                                            <tr>
                                                <td style="width: 15px; height: 25px;">
                                                    &nbsp;</td>
                                                <td style="width: 72px; white-space: nowrap; height: 25px;" class="">
                                                    性质</td>
                                                <td class="" style="height: 25px; width: 207px;">
                                                    <asp:Label ID="organizationType" runat="server"></asp:Label></td>
                                                <td align="left" style="height: 25px; width: 5px;">
                                                </td>
                                                <td align="left" style="height: 25px; width: 8px;">
                                                </td>
                                                <td align="right" style="height: 25px; width: 15px;">
                                                    &nbsp;</td>
                                            </tr>
                                            <tr>
                                                <td style="width: 15px; height: 23px;">
                                                    &nbsp;</td>
                                                <td style="width: 72px; white-space: nowrap; height: 23px;" class="" id="Td1" runat="server">
                                                    法人代表</td>
                                                <td class="" style="height: 23px; width: 207px;">
                                                    <asp:Label ID="juridicalPerson" runat="server"></asp:Label></td>
                                                <td align="left" style="height: 23px; width: 5px;">
                                                </td>
                                                <td align="left" style="height: 23px; width: 8px;">
                                                </td>
                                                <td align="right" style="height: 23px; width: 15px;">
                                                    &nbsp;</td>
                                            </tr>
                                        </table>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <table>
                                            <tr>
                                                <td style="width: 15px; height: 19px;">
                                                    &nbsp;</td>
                                                <td style="width: 72px; white-space: nowrap; height: 19px;" class="">
                                                    会员卡号</td>
                                                <td class="" style="height: 19px; width: 207px;" id="LabMemberCardId" runat="server">
                                                    --
                                                </td>
                                                <td align="left" style="height: 19px; width: 5px;">
                                                </td>
                                                <td align="left" style="height: 19px; width: 8px;">
                                                </td>
                                                <td align="right" style="height: 19px; width: 15px;">
                                                    &nbsp;</td>
                                            </tr>
                                            <tr>
                                                <td style="width: 15px; height: 19px;">
                                                    &nbsp;<span style="color: #ff7300">*</span>
                                                </td>
                                                <td style="width: 72px; white-space: nowrap; height: 19px;" class="">
                                                    合同编号</td>
                                                <td class="" style="height: 19px; width: 207px;" id="Td2" runat="server">
                                                    <asp:TextBox ID="txtContractCode" runat="server" MaxLength="4" Width="72px"></asp:TextBox></td>
                                                <td align="left" style="height: 19px; width: 5px;">
                                                </td>
                                                <td align="left" style="height: 19px; width: 8px;">
                                                </td>
                                                <td align="right" style="height: 19px; width: 15px;">
                                                    &nbsp;</td>
                                            </tr>
                                            <tr>
                                                <td style="width: 15px; height: 19px;">
                                                    &nbsp;</td>
                                                <td style="width: 72px; white-space: nowrap; height: 19px;" class="">
                                                    会员类型</td>
                                                <td class="" style="height: 19px; width: 207px;">
                                                    <asp:DropDownList ID="cardDropDown" runat="server" Width="145px" OnSelectedIndexChanged="cardDropDown_SelectedIndexChanged"
                                                        AutoPostBack="True" DataTextField="Content" DataValueField="DictNo">
                                                    </asp:DropDownList></td>
                                                <td align="left" style="height: 19px; width: 5px;">
                                                </td>
                                                <td align="left" style="height: 19px; width: 8px;">
                                                </td>
                                                <td align="right" style="height: 19px; width: 15px;">
                                                    &nbsp;</td>
                                            </tr>
                                            <tr>
                                                <td style="width: 15px; height: 18px;">
                                                    &nbsp;</td>
                                                <td style="width: 72px; white-space: nowrap; height: 18px;" class="">
                                                    房间类型</td>
                                                <td class="" style="height: 18px; width: 207px;">
                                                    <asp:DropDownList ID="feeTypeDropDown" runat="server" Width="145px" OnSelectedIndexChanged="feeTypeDropDown_SelectedIndexChanged"
                                                        AutoPostBack="True" DataTextField="Content" DataValueField="DictNo">
                                                    </asp:DropDownList></td>
                                                <td align="left" style="height: 18px; width: 5px;">
                                                </td>
                                                <td align="left" style="height: 18px; width: 8px;">
                                                </td>
                                                <td align="right" style="height: 18px; width: 15px;">
                                                    &nbsp;</td>
                                            </tr>
                                            <tr>
                                                <td style="width: 15px; height: 18px;">
                                                    &nbsp;<span style="color: #ff7300">*</span>
                                                </td>
                                                <td style="width: 72px; white-space: nowrap; height: 18px;" class="">
                                                    房间编号</td>
                                                <td class="" style="height: 18px; width: 207px;">
                                                    <span id="labApartmentNoEdit" runat="server"><asp:TextBox ID="txtApartmentNo"
                                                        runat="server" Width="144px" />
                                                        <a href="#" onclick="javascript:popup();">
                                                            <img src="../../images/search.jpg" border="0" /></a> </span>
                                                    <asp:Label ID="labApartmentNoDisplay" runat="server" />
                                                </td>
                                                <td align="left" style="height: 18px; width: 5px;">
                                                </td>
                                                <td align="left" style="height: 18px; width: 8px;">
                                                </td>
                                                <td align="right" style="height: 18px; width: 15px;">
                                                    &nbsp;</td>
                                            </tr>
                                            <tr>
                                                <td style="width: 15px; height: 24px;">
                                                    &nbsp;</td>
                                                <td style="width: 72px; white-space: nowrap; height: 24px;" class="">
                                                </td>
                                                <td class="" style="width: 207px; height: 24px">
                                                    &nbsp;<asp:DropDownList ID="propertyDropDown" runat="server" Width="146px" DataTextField="Content"
                                                        DataValueField="DictNo" Visible="False">
                                                    </asp:DropDownList></td>
                                                <td align="left" style="width: 5px; height: 24px">
                                                </td>
                                                <td align="left" style="width: 8px; height: 24px">
                                                </td>
                                                <td align="right" style="width: 15px; height: 24px">
                                                    &nbsp;</td>
                                            </tr>
                                        </table>
                                    </td>
                                </tr>
                            </table>
                        </td>
                        <td>
                            &nbsp;</td>
                    </tr>
                </table>
                <br />
                <table id="year" runat="server" width="80%">
                    <tr>
                        <td>
                            <table class="table_border_line">
                                <tr>
                                    <th colspan="6" style="text-align: left">

                                        <script language="javascript">
                                        (new TitleBar('SearchBar1', '费用项目')).showBar();
                                        </script>

                                    </th>
                                </tr>
                            </table>
                            <table class="table_border_line" style="background: ffffff">
                                <tr>
                                    <td style="width: 45px; height: 26px;">
                                        &nbsp;</td>
                                    <td style="width: 120px; white-space: nowrap; height: 26px;" class="">
                                        会员费</td>
                                    <td class="" style="height: 26px">
                                        <asp:Label ID="memberExpense" runat="server"></asp:Label>&nbsp;/元</td>
                                    <td align="left" style="height: 26px">
                                    </td>
                                    <td align="left" style="height: 26px; width: 9px;">
                                    </td>
                                    <td align="right" style="height: 26px; width: 17px;">
                                        &nbsp;</td>
                                </tr>
                                <tr>
                                    <td style="width: 45px">
                                        &nbsp;</td>
                                    <td style="width: 120px; white-space: nowrap" class="">
                                        年费</td>
                                    <td class="">
                                        <asp:Label ID="yearExpense" runat="server"></asp:Label>&nbsp;/元</td>
                                    <td align="left">
                                    </td>
                                    <td align="left" style="width: 9px">
                                    </td>
                                    <td align="right" style="width: 17px">
                                        &nbsp;</td>
                                </tr>
                                <tr>
                                    <td style="width: 45px; height: 26px;">
                                        &nbsp;</td>
                                    <td style="width: 120px; white-space: nowrap; height: 26px;" class="">
                                        合计</td>
                                    <td class="" style="height: 26px">
                                        <asp:Label ID="yearCount" runat="server"></asp:Label>&nbsp;/元</td>
                                    <td align="left" style="height: 26px">
                                    </td>
                                    <td align="left" style="width: 9px; height: 26px">
                                    </td>
                                    <td align="right" style="width: 17px; height: 26px">
                                        &nbsp;</td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                </table>
                <table id="month" runat="server" width="80%">
                    <tr>
                        <td>
                            <table class="table_border_line">
                                <tr>
                                    <th colspan="6" style="text-align: left">

                                        <script language="javascript">
                                        (new TitleBar('SearchBar2', '费用项目')).showBar();
                                        </script>

                                    </th>
                                </tr>
                            </table>
                            <table class="table_border_line" style="background: ffffff">
                                <tr>
                                    <td style="width: 20px; height: 25px;">
                                        &nbsp;</td>
                                    <td style="width: 45px; white-space: nowrap; height: 25px;" class="">
                                        租金</td>
                                    <td class="" style="height: 25px; width: 78px;">
                                        <asp:Label ID="rent" runat="server"></asp:Label>/月</td>
                                    <td class="" style="height: 25px; width: 105px;">
                                        <asp:TextBox ID="rentMultiple" runat="server" Width="51px" onkeyup="countRent(this)"
                                            MaxLength="5"></asp:TextBox>&nbsp; 月</td>
                                    <td class="" style="height: 25px; width: 178px;">
                                        总金额:&nbsp;&nbsp;<asp:Label ID="rentCount" runat="server"></asp:Label></td>
                                    <td align="right" style="height: 25px; width: 16px;">
                                        &nbsp;</td>
                                </tr>
                                <tr>
                                    <td style="width: 20px; height: 16px;">
                                        &nbsp;</td>
                                    <td style="width: 45px; white-space: nowrap; height: 16px;" class="">
                                        押金</td>
                                    <td class="" style="width: 78px; height: 16px">
                                        <asp:Label ID="foregift" runat="server"></asp:Label></td>
                                    <td align="left" style="width: 105px; height: 16px">
                                        &nbsp;</td>
                                    <td align="left" style="width: 178px; height: 16px;">
                                    </td>
                                    <td align="right" style="width: 16px; height: 16px;">
                                        &nbsp;</td>
                                </tr>
                                <tr>
                                    <td style="width: 20px; height: 26px;">
                                        &nbsp;</td>
                                    <td style="width: 45px; white-space: nowrap; height: 26px;" class="">
                                        合计</td>
                                    <td class="" style="height: 26px; width: 78px;">
                                        <asp:Label ID="monthCount" runat="server"></asp:Label></td>
                                    <td align="left" style="height: 26px; width: 105px;">
                                    </td>
                                    <td align="left" style="width: 178px; height: 26px">
                                    </td>
                                    <td align="right" style="width: 16px; height: 26px">
                                        &nbsp;</td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                </table>
                <br />
                <table width="80%">
                    <tr>
                        <td>
                            <table class="table_border_line">
                                <tr>
                                    <th colspan="6" style="text-align: left">

                                        <script language="javascript">
                                        (new TitleBar('SearchBar3', '客户信息')).showBar();
                                        </script>

                                    </th>
                                </tr>
                            </table>
                            <table class="table_border_line" style="height: 163px; background: ffffff">
                                <tr>
                                    <td style="width: 44px; height: 23px;">
                                        &nbsp;</td>
                                    <td style="width: 120px; white-space: nowrap; height: 23px;" class="">
                                        姓名</td>
                                    <td class="" style="height: 23px; width: 322px;">
                                        <asp:Label ID="relationName" runat="server"></asp:Label></td>
                                    <td align="left" style="height: 23px">
                                    </td>
                                    <td align="left" style="height: 23px">
                                    </td>
                                    <td align="right" style="height: 23px">
                                        &nbsp;</td>
                                </tr>
                                <tr>
                                    <td style="width: 44px; height: 23px;">
                                        &nbsp;</td>
                                    <td style="width: 120px; white-space: nowrap; height: 23px;" class=""">
                                        性别</td>
                        </td>
                        <td class="" style="width: 322px; height: 23px;">
                            <asp:Label ID="relationSex" runat="server"></asp:Label></td>
                        <td align="left" style="height: 23px">
                        </td>
                        <td align="left" style="height: 23px">
                        </td>
                        <td align="right" style="height: 23px">
                            &nbsp;</td>
                    </tr>
                 
                    <tr>
                        <td style="width: 44px; height: 20px;">
                            &nbsp;</td>
                        <td style="width: 120px; white-space: nowrap; height: 20px;" class="">
                            地址</td>
                        <td class="" style="width: 322px; height: 20px;">
                            <asp:Label ID="relationAddress" runat="server"></asp:Label></td>
                        <td align="left" style="height: 20px">
                        </td>
                        <td align="left" style="height: 20px">
                        </td>
                        <td align="right" style="height: 20px">
                            &nbsp;</td>
                    </tr>
                    <tr>
                        <td style="width: 44px; height: 24px;">
                            &nbsp;</td>
                        <td style="width: 120px; white-space: nowrap; height: 24px;" class="">
                            电话
                        </td>
                        <td class="" style="height: 24px; width: 322px;">
                            <asp:Label ID="relationTelephone" runat="server"></asp:Label></td>
                        <td align="left" style="height: 24px">
                        </td>
                        <td align="left" style="height: 24px">
                        </td>
                        <td align="right" style="height: 24px">
                            &nbsp;</td>
                    </tr>
                    <tr>
                        <td style="width: 44px; height: 20px;">
                            &nbsp;</td>
                        <td style="width: 120px; white-space: nowrap; height: 20px;" class="">
                            传真</td>
                        <td class="" style="height: 20px; width: 322px;">
                            <asp:Label ID="relationFax" runat="server"></asp:Label></td>
                        <td align="left" style="height: 20px">
                        </td>
                        <td align="left" style="height: 20px">
                        </td>
                        <td align="right" style="height: 20px">
                            &nbsp;</td>
                    </tr>
                    <tr>
                        <td style="width: 44px; height: 10px;">
                            &nbsp;</td>
                        <td style="width: 120px; white-space: nowrap; height: 10px;" class="">
                            邮件</td>
                        <td class="" style="width: 322px; height: 10px;">
                            <asp:Label ID="relationEmail" runat="server"></asp:Label></td>
                        <td align="left" style="height: 10px">
                        </td>
                        <td align="left" style="height: 10px">
                        </td>
                        <td align="right" style="height: 10px">
                            &nbsp;</td>
                    </tr>
                </table>
               
                <br />
                <table style="width: 80%">
                    <tr>
                        <td style="width: 44px; height: 22px;">
                        </td>
                        <td class="list_data_bg_left" valign="bottom" style="height: 22px">
                            <asp:CheckBox ID="depositFlg" runat="server" Text=" " />预付保证金<asp:Label ID="deposit"
                                runat="server"></asp:Label>
                            元, 并于<asp:Label ID="depositDate" runat="server"></asp:Label>之前补交合同余款，逾期合将失效。
                        </td>
                    </tr>
                    <tr>
                        <td style="width: 44px">
                        </td>
                        <td style="height: 5px">
                        </td>
                    </tr>
                    <tr>
                        <td style="width: 44px">
                        </td>
                        <td align="center" valign="bottom" style="height: 24px">
                            &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
                            <asp:Button ID="save" runat="server" Text="保存" CssClass="button" Width="75px" OnClick="save_Click"
                                OnClientClick="return window.confirm('是否要建立合同？');" />&nbsp; &nbsp;&nbsp;
                            <asp:Button ID="del" runat="server" Text="删除" CssClass="button" Width="75px" OnClick="del_Click"
                                OnClientClick="return window.confirm('是否要删除合同？');" />&nbsp; &nbsp; &nbsp;
                            <asp:Button ID="postBack"
                                    runat="server" Text="返回" CssClass="button" Width="75px" OnClick="postBack_Click" />
                        </td>
                    </tr>
                </table>
        <asp:HiddenField ID="saleProcId" runat="server" />
        <asp:HiddenField ID="rentH" runat="server" />
        <asp:HiddenField ID="foregiftH" runat="server" />
            </div>
        </div>
    </div>
</asp:Content>
